package com.audaque.springboot.foshanupload.security.config;

import com.audaque.springboot.foshanupload.security.interceptor.SecurityContextAuthentication2TransmittableThreadLocalCurrentUserInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author zgb
 * @desc ...
 * @date 2023-07-13 18:01:26
 */
@Configuration
public class SecurityContextAuthentication2TransmittableThreadLocalCurrentUserInterceptorBeanConfig {
    @Bean
    public SecurityContextAuthentication2TransmittableThreadLocalCurrentUserInterceptor securityContextAuthentication2TransmittableThreadLocalCurrentUserInterceptor() {
        return new SecurityContextAuthentication2TransmittableThreadLocalCurrentUserInterceptor();
    }

}
